Release 10.1A: OpenEdge Development:
Messaging and ESB
Receiving a reply
The following general steps outline how a 4GL application receives a reply:
- The application calls the requestReply procedure in the Session object with the message handle, the name of a destination (a queue name for PTP), and the Message Consumer handle as input parameters.
- The application executes a
WAIT–FORstatement (or a waitForMessages procedure call), which waits for the replies to arrive while processing other 4GL events.- The Message Consumer object handles the replies.
- The application deletes the replies after it finishes using them.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |